package com.gyj.activiti.service;

import org.activiti.engine.task.Task;

import java.io.InputStream;

/**
 * Created by Gao on 2019/4/3.
 */
public interface ActivitiService  {

    public Integer insertApply(String processId, Byte days, String reason, String applyer);

    public Integer insertApprove(Task task, String processId, String comment, Byte approveResult);

    public InputStream getCurrentDiagram(String processId);

    public InputStream showHistoryFlowNodeImage(String processId) throws Exception;

    public InputStream showHistoryFlowNodeAndLineImage(String processId) throws Exception;

}
